		{foreach from=$diary item=row key=val}
			
		<div class="hero-unit span6">
			<div class="span8">
				<h3> {$row.m_time|date_format:"%D"} Wrote:</h3> 
			</div>
			<div class="span8"><p>{$row.m_content}</p></div>
			
			<div class="span8">
			<h3>
			<a href="javascript:show_comment_panel({$row.m_id},'diary',' ','{$row.user_from}');">Comment</a>
			<a href="javascript:show_recommend_panel({$row.m_id},'diary',' ','{$row.user_from}')">Recommend</a></h3>
			</div>
		</div>
		{/foreach}